import React, { Component } from 'react';
import { connect } from 'react-redux';
import {incrementAction,reduceAction} from '../redux/action/index.js'
const storeState = state => {
    return {
        num: state.calculate.num
    }
}
@connect((state)=>{
    return {
        num: state.calculate.num
    }
})
class List extends Component {
    componentDidMount(){
        console.log(this.props)
    }
    render() {
        return (
            <div>
                redux:{this.props.num}
            </div>
        );
    }
}
export default List;